package org.com.java_chatroom.model;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    //将用户插入到数据库中
    int insertUser(User user);
    //根据用户名,查找用户信息
    User selectByName(String username);
}
